OTDontAckSends
Specifies that a provider copy data before sending it.C INTERFACE
OSStatus OTDontAckSends(ProviderRef ref);C++ INTERFACE
OSStatus TProvider::DontAckSends();PARAMETERS
ref
- The provider reference of the provider that is sending data.
DESCRIPTION
By default, providers do not acknowledge sends. You need to call theOTDontAckSends
function only if you have used theOTAckSends
function to turn on send-acknowledgment for a provider.If a send is currently outstanding on the provider, from a call to the
OTSnd
,OTSndUData
,OTSndUReply
,OTSndURequest
,OTSndReply
, orOTSndrequest
function, theOTDontAckSends
function returns akOTChangeStateErr
message.SEE ALSO
To prevent buffer copying and request completion events for provider functions that send data, call theOTAckSends
function, described on page 2-36.To find out whether a provider is acknowledging sends, call the
OTIsAckingSends
function (page 2-38).For additional information, see "Setting a Provider's Send-Acknowledgment Status" on page 2-10.